package com.x.provider.api.pay.enums;

import com.x.core.enums.IntegerEnum;
import lombok.Getter;

@Getter
public enum TransactionTypeEnum implements IntegerEnum {
    /**
     * 转账
     */
    TRANSFER(1),
    /**
     * 红包
     */
    RED_PACKET(2),
    /**
     * 退款
     */
    REFUND(4),
    /**
     * 充值
     */
    RECHARGE(5),
    /**
     * 提现
     */
    WITHDRAW(6),
    /**
     * 送礼
     */
    REWARD_GIFT(7),
    ;
    private int value;

    TransactionTypeEnum(int value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
